#ifndef IMAGEINFO_H
#define IMAGEINFO_H
#include <QImage>
#include <vector>
#include "Ptr.hpp"
using namespace OOPUtils;
using namespace std;



class ImageInfo
{
public:

  enum ColorChannel { BLUE, GREEN, RED, ALPHA };

  ImageInfo (Ptr< QImage > pImage);

  vector< int > getGrayHistogram () const;

  vector< int > getRedHistogram () const;

  vector< int > getGreenHistogram () const;

  vector< int > getBlueHistogram () const;

  vector< int > getChannelHistogram (int channel) const;

private:

  Ptr< QImage > _pImage;

};



#endif // IMAGEINFO_H
